package com.web.dao;

import com.web.VO.MyInfoVO;
import com.web.VO.MyPublishVO;
import com.web.VO.MyVideoVO;
import com.web.entity.*;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface UserDataMapper {

    void insertSelective(UserData userData);


    List<HotUserData> getHotVideos();

    List<HotUserTextBean> getHotText();

    List<UserCaseList> getUserCaseList(@Param("userId") String userId);

    UserDetails getUserDetails(@Param("userId") String userId);

    UserDetail getUserDetail(String userId);

    /**
     * 我发布的技术资料
     * @param userId
     * @return
     */
    List<MyPublishVO> listMyPublishInfo(String userId);

    /**
     * 我发布的技术视频
     * @param userId
     * @return
     */
    List<MyPublishVO> listMyPublishVideo(String userId);

    UserData selectById(@Param("key") String key,@Param("value") String value);
    Double  PersonalInformationPerfection(@Param("userId") String userId);

    Double EnterprisePerfection(@Param("userId") String userId);
}